<?php
class archin_Model_People extends Zend_Db_Table_Abstract
{
	protected $_name = "people";
	protected $_primary = "id";
	
	public function findByPrimary($val)
	{
		if (!$val)
            return null;
        else
		    return $this->fetchRow($this->_primary . ' = ' . $this->getAdapter()->quote($val, 'INTEGER'));
	}
}
?>